package com.fs.system.college_admin.mapper;

import com.fs.system.college_admin.domain.CollegeAdmin;
import com.fs.system.college_admin.domain.End;
import com.fs.system.college_admin.domain.Given;
import com.fs.system.student.domain.ApplicationRecord;

import java.util.List;

public interface CollegeAdminMapper {

    void addOne(CollegeAdmin collegeAdmin);
    
    List<CollegeAdmin> selectAll(CollegeAdmin collegeAdmin);

    CollegeAdmin selectByUsername(String username);

    void update(CollegeAdmin collegeAdmin);

    CollegeAdmin selectCollegeAdminById(Long adminId);

    List<ApplicationRecord> selectEnd(Integer teaId);

    List<ApplicationRecord> selectEnd2(Integer teaId);

    void endUpdate(ApplicationRecord applicationRecord);

    void endRecord(End end);

    ApplicationRecord selectRecordById(ApplicationRecord applicationRecord);

    List<End> selectRecord(End end);

    ApplicationRecord getRecordById(Long recordId);

    List<Given> selectGivenRecord(Given given);
}
